package com.iotp.service.user;

import com.iotp.entity.user.CommUser;

import java.util.List;

public interface UserService {

    CommUser queryUserById(String userId);

    List<CommUser> queryByConditiono(CommUser commUser);

    CommUser queryByUserIdAndPswd(String userId, String password);

    List<CommUser> queryIsUserExist(String userId, String account, String email);

    void add(CommUser commUser);

    void edit(CommUser commUser);

    void editMySelf(CommUser commUser);

    void editPswd(String userId, String password);

    void editUserStatus(String userId, int state);

    void editIsDel(String userId, int state);
}
